package com.tm.purchase.Mapper;

import com.tm.purchase.domain.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
/**
 * @Date 2025-3-5
 * @Author: Cjj
 */
@Mapper
public interface ProductMapper {
    List<Product> getAllProducts(Product product);

    List<Product> getProductById(Long id);

    List<Product> saveProduct(Product product);

    List<Product> editProduct(Long id, Product product);


    String deleteProduct(Long id);
}
